--[[

	GModRP - Real Garry's Mod Roleplay.
			By Slob187.
		

]]


function GMRP.OpenAdminMenu()

	if ( !LocalPlayer():IsAdmin() ) then
	
		LocalPlayer():RedNotify( "Must be an admin to open the admin menu." )
		
	end	

	local ShopFrame = vgui.Create("GMRPFrame")
	ShopFrame:SetSize(700, 700) 
	ShopFrame:SetTitle("") 
	ShopFrame:SetPos(ScrW() / 2 - ShopFrame:GetWide() / 2, ScrH() / 2 - ShopFrame:GetTall() / 2) --:O
	ShopFrame:SetVisible( true )
	ShopFrame:SetDraggable( true )
	ShopFrame:SetBackgroundBlur(true)
	ShopFrame:ShowCloseButton(false)
	ShopFrame:AddCloseButton()
	ShopFrame:DrawList()	
	ShopFrame:MakePopup()
	ShopFrame:List_Spacing( 5 )
	ShopFrame:List_Padding( 5 )	
			
	

	//ShopFrame:List_AddItem(ItemShit)

	
end	


GMRP.command( "menu_admin", GMRP.OpenAdminMenu )	
